<?xml version="1.0"?>
<component name="org.nuxeo.web.ui.properties.contrib.override">

  <require>org.nuxeo.web.ui.properties.contrib</require>

  <extension point="configuration" target="org.nuxeo.runtime.ConfigurationService">
    <!-- enrichers -->
    <property list="true" name="org.nuxeo.web.ui.enrichers.document">hasContent</property>
    <property name="org.nuxeo.web.ui.enrichers.document">firstAccessibleAncestor</property>
    <property name="org.nuxeo.web.ui.enrichers.document">permissions</property>
    <property name="org.nuxeo.web.ui.enrichers.document">breadcrumb</property>
    <property name="org.nuxeo.web.ui.enrichers.document">preview</property>
    <property name="org.nuxeo.web.ui.enrichers.document">favorites</property>
    <property name="org.nuxeo.web.ui.enrichers.document">subscribedNotifications</property>
    <property name="org.nuxeo.web.ui.enrichers.document">thumbnail</property>
    <property name="org.nuxeo.web.ui.enrichers.document">renditions</property>
    <property name="org.nuxeo.web.ui.enrichers.document">pendingTasks</property>
    <property name="org.nuxeo.web.ui.enrichers.document">runnableWorkflows</property>
    <property name="org.nuxeo.web.ui.enrichers.document">runningWorkflows</property>
    <property name="org.nuxeo.web.ui.enrichers.document">collections</property>
    <property name="org.nuxeo.web.ui.enrichers.document">audit</property>
    <property name="org.nuxeo.web.ui.enrichers.document">subtypes</property>
    <property name="org.nuxeo.web.ui.enrichers.document">tags</property>
    <property name="org.nuxeo.web.ui.enrichers.document">publications</property>

    <property list="true" name="org.nuxeo.web.ui.enrichers.blob">appLinks</property>
    <property name="org.nuxeo.web.ui.enrichers.blob">preview</property>

    <!-- Properties to be fetched when loading current document, default is 'properties' meaning all -->
    <property list="true" name="org.nuxeo.web.ui.fetch.document">properties</property>

    <!-- Date (time) format -->
    <property name="org.nuxeo.web.ui.dateFormat">LL</property>
    <property name="org.nuxeo.web.ui.dateTimeFormat">LLL</property>

    <!-- First Day Of Week -->
    <property name="org.nuxeo.web.ui.firstDayOfWeek"/>

    <!-- S3 Direct upload -->
    <property name="org.nuxeo.web.ui.s3.useDirectUpload">false</property>
    
    <!-- Redirect to final download url -->
    <property name="org.nuxeo.web.ui.url.followRedirect">false</property>

    <!-- Max Results for Tables, Grids and Lists plugged on a Nuxeo Page Provider. Falls back on elasticsearch max result window by default. -->
    <property name="org.nuxeo.web.ui.listingMaxItems">10000</property>

    <!-- Control the enablement of document distribution analytics -->
    <property name="org.nuxeo.web.ui.analytics.documentDistribution.disableThreshold">${nuxeo.analytics.documentDistribution.disableThreshold}</property>

    <!-- Control the enablement of select all -->
    <property name="org.nuxeo.web.ui.selection.selectAllEnabled">false</property>

    <!-- Properties to be fetched when loading the user object in user management, default is empty -->
    <property list="true" name="org.nuxeo.web.ui.user.management.fetch.document"/>

  </extension>

</component>
